//
//  Person.h
//  OC07_内存管理
//
//  Created by dllo on 16/5/30.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject<NSCopying>
//{
//    @public
//    NSString *_name;
//    NSString *_sex;
//    NSInteger _age;
//}

@property (nonatomic,retain) NSString *name;
@property (nonatomic, copy) NSString *sex;
@property (nonatomic,assign) NSInteger age;
@property (nonatomic,retain) NSString *workStation;


-(instancetype)initWithName:(NSString *)name withSex:(NSString *)sex withAge:(NSInteger)age withWorkStation:(NSString *)workStation;

+(instancetype)personWithName:(NSString *)name withSex:(NSString *)sex withAge:(NSInteger)age withWorkStation:(NSString *)workStation;

@end
